package com.itheima.stock.response;

import com.itheima.stock.vo.MoreAllVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ResponsePage<T> {

    private Long totalRows;//总记录数
    private Long totalPages;//总页数
    private int pageNum;//当前页码
    private int pageSize;//每页记录数
    private int size;//当前页记录数
    private List<T> rows;//结果集
}
